package co.edu.unal.satacredito.database.administration.ejb;

import java.util.List;

import javax.ejb.Remote;

import co.edu.unal.satacredito.database.administration.exceptions.DAOException;
import co.edu.unal.satacredito.database.entity.Machine;

@Remote
public interface MachineDaoEJBRemote {
	public List<Machine> findAllMachines() throws DAOException;
    public void updateMachine(String id, Machine newMachine) throws DAOException;
    public Machine findByName(String name) throws DAOException;
    public void create(Machine newMachine) throws DAOException;
    public Machine findByIp(String ip);
}
